home *** CD-ROM | disk | FTP | other *** search
- Path: news.ichange.com!newsmaster
- From: Jesse Liberty <jl@staff.ichange.com>
- Newsgroups: comp.lang.c++
- Subject: Re: Learning C++?
- Date: Wed, 13 Mar 1996 17:15:48 -0500
- Organization: AT&T
- Message-ID: <31474914.411D@staff.ichange.com>
- References: <4i560i$df2@news2.ios.com>
- NNTP-Posting-Host: 140.244.99.60
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win95; I)
- CC: jl@staff.ichange.com
-
- Ryan Richards wrote:
- >
- > I am an MIS student and have a few compilers at home for both c and c++.
- > I have not taken any computer language classes yet but wanted to get a
- > jump start on c or c++ on my own. Should I learn C or C++ first? or do I
- > even need to learn C anymore? and would I learn the wrong way to programm
- > if I taught myself/learned from a book?
- > You have asked one of the great controversial questions about learning
- C++. Bjarne Stroustrup (the creator of C++) is on record as saying that
- he believes (as I do) that you should NOT learn C first. I can't speak
- for him, but here is my reasoning:
-
- C++ is (more or less) a superset of C and so many folks use C++ as a
- "better" C; that's fine but it misses the point. C++ was designed to
- facilitate object oriented programming. While you CAN do procedural
- programming in C++ and you CAN do object oriented programming in C, the
- fact is that C++ makes object oriented programming much easier. In
- fact, I have argued that the jump from C to C++ is greater than the jump
- from BASIC or even Assembler to C, because the real jump is from
- procedural programming to object oriented programming.
-
- If you don't know C already, there is no advantage and some disadvantage
- to learning C first. Why not get a primer on C++ which teaches the
- language from scratch, and which also teaches it within an object
- oriented framework? Allow me to be so bold as to suggest my book, Teach
- Yourself C++ In 21 Days (SAMS) which assumes no prior programming
- experience and which is designed to give you the background in object
- oriented analysis and design you'll need to use C++ effectively.
-
- Tens of thousands of us have taught ourselves programming from books.
- After you finish your primer, consider these books to flesh out your
- understanding of the language and related issues:
-
- Teach Yourself MORE C++ In 21 Days by Liberty.
- Effective C++ by Meyers.
- MORE Effective C++ by Meyers.
- Design Patterns by Gamma et al.
- Designing Object Oriented C++ Applications using the Booch
- Method by Martin
-
- Also be sure to read the C++ report and to follow this news group.
- Enjoy and if you have questions along the way don't hesitate to ask.
- Thanks!
-
-
-
- ------
- Jesse Liberty [AT&T New Media Services]
- jl@staff.ichange.com ZDNet: 72241,72
- Teach Yourself C++ In 21 Days. Sams 1994
- Teach Yourself MORE C++ In 21 Days. Sams 1996
- Teach Yourself ANSI C++ In 21 Days. Sams 1996
- C++: An Introduction To Programming. Que 1996
-